package cc.mrbird.tram.service;

import cc.mrbird.submission.domain.PullDown;
import cc.mrbird.tram.domain.Tram;

import java.util.List;

public interface TramService {
    void saveTram(Tram tram);
    //查询最新的id
    String findId();

    List<Tram> getTramList(Tram tram);
    List<PullDown> FindPullDown(PullDown pullDown);

    PullDown savePullDown(PullDown pullDown);

    void addPullDown(PullDown pullDown);

    String sumFirst();

    Tram getTramId(Tram tram);

    void updateTram(Tram tram);

    void cancelTram(Tram tram);
}
